<?php
return [
    'components' => [
        'odb' => [
            'class'=>'yii\db\Connection',
            'dsn' => 'oci:dbname=//localhost:1521/orcl;charset=utf8',
//            'dsn' => 'oci:dbname=//my.yii.cn:1521/orcl;charset=utf8',
            'emulatePrepare' => true,
            'username' => 'ydj',
            'password' => 'ydj',
        ],
//        'db' => [
//
//            'class' => 'yii\db\Connection',
//            'dsn' => 'oci:dbname=//localhost:1521/orcl',
//            'username' => 'sys as sysdba',
//            'password' => 'sys',
//            'charset' => 'utf8',
//        ],
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=172.18.80.9;dbname=ifssc_php',
            'username' => 'root',
            'password' => '123qwe@@',
            'charset' => 'utf8',
        ],
//        'db2' => [
//            'class' => 'yii\db\Connection',
//            'dsn' => 'mysql:host=172.18.80.9;dbname=ifssc_api',
//            'username' => 'root',
//            'password' => '123qwe@@',
//            'charset' => 'utf8',
//        ],
//        'mailer' => [
//            'class' => 'yii\swiftmailer\Mailer',
//            'viewPath' => '@common/mail',
//        ],



    ],
];
